package com.ddlaw.service;

import java.util.List;

import com.ddlaw.entity.TLawyer;
import com.ddlaw.entity.TLawyerApplyCustom;
import com.ddlaw.entity.TLawyerDetailCustom;
import com.ddlaw.entity.TLawyerServiceType;
import com.ddlaw.entity.TProvince;
import com.ddlaw.entity.TStudentDetaiCustom;

public interface LawyerService {
	
	List<TLawyerApplyCustom> getauditWaitLawyer();
	
	List<TLawyerDetailCustom> getLawyers();
	
	TLawyerApplyCustom getAuditWaitLawyerById(int applyId);
	
	TLawyerDetailCustom getLawyerDetail(int lawyerId);
	
	int addLawyer(TLawyerDetailCustom detail);
	
	int addAndGetId(TLawyer lawyer);
	
	int deleteById(int applyId);
	
	int deleteStuById(int applyId);
	
	int updateState(int state, int lawyerId);
	
	List<TLawyerServiceType> getServiceType();
	
	List<TLawyerDetailCustom> getSearchLawyer(int serviceType,int begin,int workYears,int region);
	
	List<TProvince> getProvince();
	
	int updateLawyer(TLawyerDetailCustom detailCustom);
	
	List<TStudentDetaiCustom> getStudentApply();
	
	TStudentDetaiCustom getStuById(int applyId);
	
	int addStuLawyer(TStudentDetaiCustom student);
	
	List<TStudentDetaiCustom> getStus();
	
	List<TStudentDetaiCustom> getSearchStu(int serviceType,int begin,int workYears,int region);
	
	TStudentDetaiCustom getStuDetail(int lawyerId);
	
	int updateStu(TStudentDetaiCustom stu);
}
